package com.macro.mall.util;

import com.google.common.collect.Lists;

import java.util.Arrays;
import java.util.List;

public class Constants {

    public static String PROFILE_ACTIVE = "";

    public static boolean IS_PRO_PRE = false;

    public static String APPLICATION_NAME = "";

    public static boolean SWITCH_SMS = true;

    public static final String DIVISION_MIDDLE                  = "-";

    public static final String REMARK_THOUSAND                  = "k";

    public static final int NUMBER_1                            = 1;

    public static final int NUMBER_2                            = 2;

    public static final byte NUMBER_1_BYTE                      = 1;

    public static final int NUMBER_ZERO                         = 0;

    public static final int NUMBER_FIVE                         = 5;

    public static final int NUMBER_50                           = 50;

    public static final int NUMBER_999                          = 999;

    public static final int TEN_MINUTES                         = 10 * 60;

    public static final String WE_CHAT_OPENID                   = "openid";

    public static final String WE_CHAT_UNIONID                  = "unionid";

    /**
     * 系统操作日志操作人id默认为0
     */
    public static final Long SYSTEM_LONG                        = 0L;

    /**
     * 默认的操作人
     */
    public static final String DEFAULT_OPERATOR_NAME            = "系统";

    /**
     * pc端页面展示城市分组
     */
    public static final List<String> CITY_GROUP_LIST            = Lists.newArrayList("ABCDE", "FGHJ", "KLMN", "PQRST", "WXYZ");

    /**
     * 直辖市
     */
    public static final List<String> MUNICIPALITY_LIST          = Arrays.asList("北京", "上海", "重庆", "天津");

    /**
     * pc端获取所有城市redis key 过期时间（秒）
     */
    public static final Long PC_CITY_EXPIRED_TIME               = 3600L;

    public static final Long ONE_DAY_EXP                        = 24 * 60 * 60L;

    /**
     * 调用返回的成功状态值
     */
    public static final String ERR0R_SUCCESS_CODE               = "S000000";

    /**
     * 主管理员
     */
    public static final String ADMIN                            = "主管理员";

    /**
     * 招聘专员
     */
    public static final String  RECRUITER                       = "招聘专员";

    /**
     * 所有
     */
    public static final String  ALL                             = "all";

    /**
     * 所有功能权限
     */
    public static final List<Integer>  AUTH_ALL_LIST             = Arrays.asList(1,2,3,4,5,6,7,8,9,10);

    /**
     * 功能权限一
     */
    public static final int AUTH_ONE                             = 1;

    /**
     * 功能权限三
     */
    public static final int AUTH_THREE                           = 3;

    /**
     * 功能权限五
     */
    public static final int AUTH_FIVE                            = 5;

    /**
     * 脱敏显示
     */
    public static final String DATA_MASKING                      = "***";

    /**
     * 发票地址  栏目code
     */
    public static final String INVOICE_ADDRESS                  = "invoice_address";

    /**
     * 发票收件人  code
     */
    public static final String ADDRESSEE = "addressee";

    /**
     * 发票联系电话  code
     */
    public static final String CONTACT_NUMBER = "contact_number";

    /**
     * 发票邮寄地址  code
     */
    public static final String RECEIVING_ADDRESS = "receiving_address";

    /**
     * 接单企业微信卡片消息提醒url
     */
    public static final String ORDER_WE_COM_REMIND_URL = "https://tl.joyobpo.com/recruitment/order/list";

    /**
     * 订单首次供人提醒url
     */
    public static final String ORDER_FIRST_ADD_TALENT_REMIND_URL = "https://tl.joyobpo.com/recruitment/talentTrack/list?taskId=";

    /**
     * 兼职标签
     */
    public static final String PART_TIME = "兼职,";

}
